#include "Sampler.h"
#include <cstdlib>

void Sampler::setSeed(unsigned int seed)
{
	srand(seed);
}

void Sampler::setBounds(int left, int right, int top, int bottom, float radius)
{
	minX_ = left + radius;
	minY_ = bottom + radius;
	widthX_ = right - left - 2.f * radius;
	widthY_ = top - bottom - 2.f * radius;

	radius_ = radius;
}
